package com.trsj.lnsj.entity;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface UserRepo extends JpaRepository<UserDTO, Long> {
    @Query(value="select * from tab_user where mobilephone = ?1" ,nativeQuery=true)
    UserDTO findByMobilephone(String mobilephone);
}
